import 'package:equatable/equatable.dart';

class ImageSettingsData extends Equatable {
  const ImageSettingsData({
    required this.imagesEnabled,
  });

  final bool imagesEnabled;

  @override
  List<Object?> get props {
    return [
      imagesEnabled,
    ];
  }

  ImageSettingsData copyWith({
    bool Function()? imagesEnabled,
  }) {
    return ImageSettingsData(
      imagesEnabled: imagesEnabled == null ? this.imagesEnabled : imagesEnabled(),
    );
  }
}
